﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LogHelper.cs" company="Spenta Consulting">
//   (c) Copyright 2011
// </copyright>
// <summary>
//   Helper class for logging
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Spenta.StreetCare.Silverlight.Logging
{
    /// <summary>
    /// Helper class for logging
    /// </summary>
    public class LogHelper
    {
        /// <summary>
        /// Private store for the Logger property
        /// </summary>
        private static IClientLogger logger;

        /// <summary>
        /// Gets the logger.
        /// </summary>
        /// <value>
        /// The logger property.
        /// </value>
        public static IClientLogger Logger
        {
            get { return logger ?? (logger = new IsolatedStorageLogger()); }
        }
    }
}
